]> dgit.raspbian.org Git - gnome-shell.git/commit
boxpointer: Use X/Y actor positioning instead of an anchor point
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Mon, 4 Mar 2019 23:38:32 +0000 (17:38 -0600)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 11 Apr 2019 19:38:17 +0000 (19:38 +0000)
commit044572cb60aeb47a099258cd5617c8df0e7bcdbc
tree4a21b5baf8bbbb1619bcd2f5217ebce75b4ed507
parent746875258dba5fbb1eac802b14732049e9b1c518
boxpointer: Use X/Y actor positioning instead of an anchor point

Currently all the widgets using BoxPointer and so popup actors are always drawn
at screen origin and then shifted at paint time in the proper position.

This doesn't work when using resource scale, since the widgets need to know
in which monitor they currently are in order to use properly scaled resources.

So, basically revert commit 22c22e0d7 and go back using the actual actor
coordinates for positioning and the actor translation for animating it, as the
relayouting issues of the past seem to be gone now.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1008
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/435
js/ui/boxpointer.js